WeDevs\ERP\Accounting\API\PaymentsController S

Total Complexity 45
Dependencies 3
Dependents 0
Total lines 565
Lines of code 401
Logical lines of code 141
Comment lines 79
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
B
41 21 64
get_item_schema()
A
34 1 133
add_log()
S
52 6 24
get_payments()
S
49 5 31
register_routes()
S
44 1 62
update_payment()
S
52 3 23
prepare_item_for_response()
S
51 2 25
create_payment()
S
56 2 18
get_payment()
S
59 2 13
void_payment()
S
65 2 8